			<script>
				function showCAK7CWPK(row_id,show_button,hide_button)
				{
					if (document.getElementById(row_id).style.display == "none")
					{
						document.getElementById(row_id).style.display = "table-row";
						document.getElementById(show_button).style.display = "none";
						document.getElementById(hide_button).style.display = "block";
					}
					else
					{
						document.getElementById(row_id).style.display = "none";
						document.getElementById(show_button).style.display = "block";
						document.getElementById(hide_button).style.display = "none";
					}
				}
			</script>
			<TR><TH COLSPAN="2">Reader specific settings for Nagra Merlin</TH></TR>
				<TR><TD><A>Init card in CAK7 mode:</A></TD><TD><input name="cak7_mode" type="hidden" value="0"><input name="cak7_mode" type="checkbox" value="1" ##NAGRACAK7MODECHECKED##><label></label></TD></TR>
				<TR><TD><A>Force CW swap:</A></TD><TD><input name="forcecwswap" type="hidden" value="0"><input name="forcecwswap" type="checkbox" value="1" ##FORCECWSWAPCHECKED##><label></label></TD></TR>
				<TR><TD><A>Force Even SA:</A></TD><TD><input name="evensa" type="hidden" value="0"><input name="evensa" type="checkbox" value="1" ##EVENSACHECKED##><label></label></TD></TR>
				<TR><TD><A>Force EMMs 0x82:</A></TD><TD><input name="forceemmg" type="hidden" value="0"><input name="forceemmg" type="checkbox" value="1" ##FORCEEMMGCHECKED##><label></label></TD></TR>
				<TR><TD><A>mod1:</A></TD><TD><textarea name="mod1" rows="5" class="bt" maxlength="224">##MOD1##</textarea></TD></TR>
				<TR><TD><A>mod2:</A></TD><TD><textarea name="mod2" rows="5" class="bt" maxlength="224">##MOD2##</textarea></TD></TR>
				<TR><TD><A>key3588:</A></TD><TD><textarea name="key3588" rows="6" class="bt" maxlength="272">##KEY3588##</textarea></TD></TR>
				<TR><TD><A>key3460:</A></TD><TD><textarea name="key3460" rows="4" class="bt" maxlength="192">##KEY3460##</textarea></TD></TR>
				<TR><TD><A>key3310:</A></TD><TD><textarea name="key3310" rows="1" class="bt" maxlength="32">##KEY3310##</textarea></TD></TR>
				<TR><TD><A>data50:</A></TD><TD><textarea name="data50" rows="4" class="bt" maxlength="160">##DATA50##</textarea></TD></TR>
				<TR><TD><A>mod50:</A></TD><TD><textarea name="mod50" rows="4" class="bt" maxlength="160">##MOD50##</textarea></TD></TR>
				<TR><TD><A>idird:</A></TD><TD><input name="idird" class="medium" type="text" maxlength="8" value="##IDIRD##"></TD></TR>
				<TR><TD><A>CMD0E ProvID:</A></TD><TD><input name="cmd0eprov" class="medium" type="text" maxlength="4" value="##CMD0EPROV##"> use only if CMD0E needs ProvID other than sysid</TD></TR>
				<TR><TD><A>Nuid:</A></TD><TD><input name="nuid" class="medium" type="text" maxlength="8" value="##NUID##"></TD></TR>
				<TR><TD><A>Force Pairing (00 - global):</A></TD><TD><input name="forcepair" class="medium" type="text" maxlength="2" value="##FORCEPAIR##"></TD></TR>
				<TR><TD><A>Force OTP CSC (optional):</A></TD><TD><input name="otpcsc" class="medium" type="text" maxlength="4" value="##OTPCSC##"></TD></TR>
				<TR><TD><A>Force OTA CSC (optional):</A></TD><TD><input name="otacsc" class="medium" type="text" maxlength="4" value="##OTACSC##"></TD></TR>
				<TR><TD><A>CaID BoxEMM:</A></TD><TD><input name="cwpkcaid" class="medium" type="text" maxlength="4" value="##CWPKCAID##"></TD></TR>
				<TR><TD><A>OTA (Over-The-Air) CWPK:</A></TD><TD><input name="cwpkota" type="hidden" value="0"><input name="cwpkota" type="checkbox" value="1" ##CWPKOTACHECKED##><label></label></TD></TR>
				<TR><TD><A>Header mode:</A></TD>
					<TD>
						<select name="headermode">
							<option value="0" ##NAGRACAK7HEADERMODE0##>0 - 0x00</option>
							<option value="1" ##NAGRACAK7HEADERMODE1##>1 - 0x04</option>
						</select>
					</TD>
				</TR>
				<TR><TD><A>CWPK0:</A></TD><TD><input name="cwekey0" class="longer" type="text" maxlength="32" value="##CWEKEY0##"></TD></TR>
				<TR><TD><A>CWPK1:</A></TD><TD><input name="cwekey1" class="longer" type="text" maxlength="32" value="##CWEKEY1##"></TD></TR>
				<TR><TD><A>CWPK2:</A></TD><TD><input name="cwekey2" class="longer" type="text" maxlength="32" value="##CWEKEY2##"></TD></TR>
				<TR><TD><A>CWPK3:</A></TD><TD><input name="cwekey3" class="longer" type="text" maxlength="32" value="##CWEKEY3##"></TD></TR>
				<TR><TD><A>CWPK4:</A></TD><TD><input name="cwekey4" class="longer" type="text" maxlength="32" value="##CWEKEY4##"></TD></TR>
				<TR><TD><A>CWPK5:</A></TD><TD><input name="cwekey5" class="longer" type="text" maxlength="32" value="##CWEKEY5##"></TD></TR>
				<TR><TD><A>CWPK6:</A></TD><TD><input name="cwekey6" class="longer" type="text" maxlength="32" value="##CWEKEY6##"></TD></TR>
				<TR><TD><A>CWPK7:</A></TD><TD><input name="cwekey7" class="longer" type="text" maxlength="32" value="##CWEKEY7##"></TD></TR>
				<TR><TD><A>Show/Hide CWPK8 - CWPK16:</A></TD><TD><input type="button" name="cak7cwpkshow" id="cak7cwpkShowButton" value="Show" onclick="showCAK7CWPK('cak7cwpk8','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk9','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk10','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk11','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk12','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk13','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk14','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk15','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk16','cak7cwpkShowButton','cak7cwpkHideButton')" /><input type="button" name="cak7cwpkhide" id="cak7cwpkHideButton" value="Hide" onclick="showCAK7CWPK('cak7cwpk8','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk9','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk10','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk11','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk12','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk13','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk14','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk15','cak7cwpkShowButton','cak7cwpkHideButton'); showCAK7CWPK('cak7cwpk16','cak7cwpkShowButton','cak7cwpkHideButton')" style="display:none;" /></TD></TR>
				<TR id="cak7cwpk8" style="display:none;"><TD><A>CWPK8:</A></TD><TD><input name="cwekey8" class="longer" type="text" maxlength="32" value="##CWEKEY8##"></TD></TR>
				<TR id="cak7cwpk9" style="display:none;"><TD><A>CWPK9:</A></TD><TD><input name="cwekey9" class="longer" type="text" maxlength="32" value="##CWEKEY9##"></TD></TR>
				<TR id="cak7cwpk10" style="display:none;"><TD><A>CWPK10:</A></TD><TD><input name="cwekey10" class="longer" type="text" maxlength="32" value="##CWEKEY10##"></TD></TR>
				<TR id="cak7cwpk11" style="display:none;"><TD><A>CWPK11:</A></TD><TD><input name="cwekey11" class="longer" type="text" maxlength="32" value="##CWEKEY11##"></TD></TR>
				<TR id="cak7cwpk12" style="display:none;"><TD><A>CWPK12:</A></TD><TD><input name="cwekey12" class="longer" type="text" maxlength="32" value="##CWEKEY12##"></TD></TR>
				<TR id="cak7cwpk13" style="display:none;"><TD><A>CWPK13:</A></TD><TD><input name="cwekey13" class="longer" type="text" maxlength="32" value="##CWEKEY13##"></TD></TR>
				<TR id="cak7cwpk14" style="display:none;"><TD><A>CWPK14:</A></TD><TD><input name="cwekey14" class="longer" type="text" maxlength="32" value="##CWEKEY14##"></TD></TR>
				<TR id="cak7cwpk15" style="display:none;"><TD><A>CWPK15:</A></TD><TD><input name="cwekey15" class="longer" type="text" maxlength="32" value="##CWEKEY15##"></TD></TR>
				<TR id="cak7cwpk16" style="display:none;"><TD><A>CWPK16:</A></TD><TD><input name="cwekey16" class="longer" type="text" maxlength="32" value="##CWEKEY16##"></TD></TR>
